<template>
	<!-- title部分 -->
	<view class="title">
		<view class="title_leftbox" @click="goToWode">
			<image class="title_leftbox_image_fanhui" src="../../static/返回.png"></image>
		</view>
		<view class="title_middlebox">
			<view class="title_middlebox_text">店铺信息</view>
		</view>
		<view class="title_rightbox">
			<view class="title_rightbox_text"></view>
		</view>
	</view>

	<!-- 店铺部分 -->
	<view class="dianpubox">
		<!-- 店铺内容部分 -->
		<view class="dianpubox_textimgbox">
			<view class="dianpubox_textimgbox_text1">店铺名称：</view>
			<view class="dianpubox_textimgbox_text2">森辰体育</view>
		</view>
		<!-- 店铺内容部分 -->
		<view class="dianpubox_textimgbox">
			<view class="dianpubox_textimgbox_text1">店主姓名：</view>
			<view class="dianpubox_textimgbox_text2">******</view>
			<view class="dianpubox_textimgbox_text4">在线客服</view>
		</view>
		<view class="dianpubox_textimgbox">
			<view class="dianpubox_textimgbox_text1">店铺电话：</view>
			<view class="dianpubox_textimgbox_text2">******</view>
		</view>
		<view class="dianpubox_textimgbox">
			<view class="dianpubox_textimgbox_text1">店铺地址：</view>
			<view class="dianpubox_textimgbox_text2">******</view>
		</view>
		<view class="dianpubox_textimgbox1">
			<view class="dianpubox_textimgbox_text1">店铺公告:<text class="dianpubox_textimgbox_text3">线下实体店铺，如发现没有实体票照片请及时与我联系</text></view>
		</view>
	</view>

</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {
			goToWode() {
				// 在tabbar中使用uniapp的switchTab方法跳转
				uni.switchTab({
					url: '/pages/wode/wode', // 我的路径
				});
			},
		}
	}
</script>

<style>
	page {
		background-color: #eeeeee;
	}

	/* 以下是title部分样式 */
	.title {
		background-color: rgb(226, 50, 52);
		display: flex;
		align-items: center;
		justify-content: space-between;
		/* 使左右盒子分别位于两侧 */
		padding: 2%;
	}

	.title_leftbox {
		display: flex;
		align-items: center;
		justify-content: center;
		/* 使图标居中 */
	}

	.title_leftbox_image_fanhui {
		width: 20px;
		height: 25px;
	}

	.title_middlebox {
		flex-grow: 1;
		/* 使中间盒子占据剩余空间 */
		display: flex;
		align-items: center;
		justify-content: center;
		/* 使文本居中 */
	}

	.title_middlebox_text {
		font-size: 20px;
		color: white;
		font-weight: 500;
	}

	.title_rightbox {
		display: flex;
		align-items: center;
		justify-content: center;
		/* 使文本居中 */
	}

	.title_rightbox_text {
		color: white;
	}

	/* 店铺内容部分 */
	.dianpubox {
		padding: 2%;
		background-color: white;
	}

	.dianpubox_textimgbox {
		display: flex;
		align-items: center;
	}

	.dianpubox_textimgbox1 {
		align-items: center;
		margin-right: 2%;
	}

	.dianpubox_textimgbox_text1 {
		font-size: 15px;
		padding: 4% 2%;
		color: #909399;
	}

	.dianpubox_textimgbox_text2 {
		font-size: 15px;
		color: #303133;
		flex: 1;
	}

	.dianpubox_textimgbox_text3 {
		font-size: 15px;
		color: #303133;
		margin-left: 2%;
	}

	.dianpubox_textimgbox_text4 {
		font-size: 12px;
		color: #e23234;
	}
</style>
